package com.beta.mapper;

import com.baomidou.mybatisplus.mapper.AutoMapper;
import com.baomidou.mybatisplus.plugins.Page;
import com.beta.dto.admin.AdminDto;
import com.beta.entity.Admins;
import org.apache.ibatis.annotations.Param;

import java.util.List;

/**
 *
 * Admins 表数据库控制层接口
 *
 */
public interface AdminsMapper extends AutoMapper<Admins> {

    List<AdminDto> selectAdmins(@Param("userName")String userName,Page<AdminDto> page);

    AdminDto getAdminById(@Param("adminId")Integer adminId);

}